﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LGE;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Stealth
{
    public class Background
    {
        Vector2 moonPos = new Vector2(206, 289);
        Vector2 buildingsPos = new Vector2(0, 1486);
        Vector2 cloudPos = new Vector2(0, 58);

        Texture2D skySprite;
        Texture2D moonSprite;
        Texture2D buildingsSprite;



        public Background()
        {
            skySprite = Engine.Load<Texture2D>("Images\\Background\\sky");
            moonSprite = Engine.Load<Texture2D>("Images\\Background\\moon");
            buildingsSprite = Engine.Load<Texture2D>("Images\\Background\\buildings");
        }

        public void Update(GameTime gameTime)
        {
        }

        public void Draw(SpriteBatch spriteBatch, Vector2 pos)
        {
            spriteBatch.Draw(skySprite, pos, Color.White);
            spriteBatch.Draw(moonSprite, pos + moonPos, Color.White);
            spriteBatch.Draw(buildingsSprite, pos + buildingsPos, Color.White);
        }

    }
}
